package cn.yj.common.entity;

/**
 * @author 永健
 * @since 2022-02-18 12:14
 */
public abstract class PayResult {
    private String code;

    private String msg;

    private String subCode;

    private String subMsg;

    private boolean success;


    public String getCode() {
        return code;
    }

    public PayResult setCode(String code) {
        this.code = code;
        return this;
    }

    public String getMsg() {
        return msg;
    }

    public PayResult setMsg(String msg) {
        this.msg = msg;
        return this;
    }

    public boolean isSuccess() {
        return success;
    }

    public PayResult setSuccess(boolean success) {
        this.success = success;
        return this;
    }

    public String getSubCode() {
        return subCode;
    }

    public PayResult setSubCode(String subCode) {
        this.subCode = subCode;
        return this;
    }

    public String getSubMsg() {
        return subMsg;
    }

    public PayResult setSubMsg(String subMsg) {
        this.subMsg = subMsg;
        return this;
    }
}
